<?php global $user;?>
<div id="wrap">
  <div id="header">
    <div class="wrap_960">
      <div id="logo">
        <!--a href="/" title="">
        <img src="<?php //echo base_path() . 'sites/all/themes/intraGYM'?>/images/logo.png" alt="" />
      </a-->
        <?php if ($logo): ?>
        <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home">
          <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>"/>
        </a>
        <?php endif; ?>
      </div>
      <!-- end logo -->
      <?php if ($user->uid == 0): ?>
      <div id="signup-menu">
        <div id="signup">
          <?php echo drupal_render(drupal_get_form('tvn_login_form')); ?>
          <a href="#" title="">Join today for FREE</a>
        </div>
        <!-- end clear -->
        <div class="clear"></div>
      </div>
      <?php else: ?>
      <div id="user-login-exist"><p>Hello : <span><?php echo $user->name;?></span></p><a
        href="<?php echo base_path() . 'user/logout'; ?>">logout</a></div>
      <?php endif;?>
      <!-- end signup-menu -->
      <?php if ($main_menu): ?>
      <div id="menu" class="navigation">
        <?php print theme('links__system_main_menu', array(
                                                          'links' => $main_menu,
                                                          'attributes' => array(
                                                            'id' => 'main-menu-links',
                                                            'class' => array('links', 'clearfix'),
                                                          ),
                                                          'heading' => array(
                                                            'text' => t('Main menu'),
                                                            'level' => 'h2',
                                                            'class' => array('element-invisible'),
                                                          ),
                                                     )); ?>
      </div> <!-- /#main-menu -->
      <?php endif; ?>
      <div class="clear"></div>
      <!-- end clear -->
    </div>
    <!-- end wrap_960 -->
  </div>
  <!-- end header -->

  <div class="clear"></div>
  <!-- end clear -->
  <?php if ($messages): ?>
  <div id="messages">
    <div class="wrap_960">
      <div class="section clearfix">
        <?php print $messages; ?>
      </div>
    </div>
  </div> <!-- /.section, /#messages -->
  <div class="clear"></div><!-- end clear -->
  <?php endif; ?>
  <div class="wrapper_customer_testimonial">
    <div class="head_testimonial">
      <?php print(render($page['why-use-intragym']));?>
    </div>
    <div class="content_testimonial">
      <div class="content_left"><?php print(render($page['content']));?></div>
      <div class="content_right">
        <?php print(render($page['why-use-intragym-right']));?>
      </div>
      <div style="clear:both;"></div>
    </div>
  </div>
  <div id="footer">
    <div class="wrap_960">
      <div id="footer_content">
        <div id="footer_left">
          <p>IntraGYM 2011. All Rights Reserved</p>

          <p><a href="#" title="">Powered by The Web in a Box</a></p>
        </div>
        <div id="fotter_right">
          <a href="#" title="">Sitemap</a> /
          <a href="#" title="">Terms & Conditions</a> /
          <a href="#" title="">Privacy & Cookie Policy</a>
        </div>
      </div>
      <!-- end footer_content -->
      <div class="clear"></div>
      <!-- end clear -->
    </div>
    <!-- end footer -->

    <div class="clear"></div>
    <!-- end clear -->
  </div>
  <!-- end wrap -->